﻿<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<title>Insert title here</title>
		<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/js/themes/default/easyui.css" />
		<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/js/themes/default/tree.css" />
		<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/js/themes/icon.css" />
		<link rel="stylesheet" href="${pageContext.request.contextPath}/css/ainit.css" type="text/css"></link>
		<script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery-1.8.3.min.js"></script>
		<script type="text/javascript" src="${pageContext.request.contextPath}/My97DatePicker/WdatePicker.js"></script>
		<script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery.easyui.min.1.3.1.js"></script>
		<script type="text/javascript" src="${pageContext.request.contextPath}/js/locale/easyui-lang-zh_CN.js"></script>
		<script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery.json-2.4.min.js"></script>
		<script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery.ainit-1.0.0.js"></script>
		<script type="text/javascript" src="${pageContext.request.contextPath}/model/js/jquery.ainit-1.1.0.js"></script>
		<script type="text/javascript" src="${pageContext.request.contextPath}/model/js/model.js"></script>
		<script type="text/javascript" src="${pageContext.request.contextPath}/model/js/butnScript.js"></script>
		<script type="text/javascript" src="${pageContext.request.contextPath}/model/mytask/myTask.js"></script>
		<script type="text/javascript" src="${pageContext.request.contextPath}/model/dataList/element.js"></script>
		<script type="text/javascript" src="${pageContext.request.contextPath}/model/dataList/joinElement.js"></script>
	<script type="text/javascript">
	</script>
	<script type="text/javascript">
		$(function(){
			var height = parseInt(document.documentElement.clientHeight)*0.97;
          	$("body").height(height);
			initMyTask("TASKLIST",'${m.prefix}');
			parent.divObj = $('#taskWestDiv');
			parent.hideFlagObj= $('#${m.prefix}_hideFlag');
			findWNode(); //加载左侧菜单
			$('#taskWestDiv span a[flag=0]').parent().parent('div').attr('class','tree-node tree-node-selected');
			$('#${m.prefix}_hideFlag').val('0');
		});
	</script>
	
	</head>
	<body>   
		<!-- 用layout 将左右分栏 -->
		<div id="taskWest" prefix='${m.prefix}' style="width:11%;overflow:hidden;float:left;min-width: 200px;background-color:#EDF5FF;height:100%;" >
			<div id="taskWestDiv" ></div>
		</div>
		<div id="${m.prefix}_QueryTaskList"  style="padding-left: 5px;float: left;width:80%;height: 100%"   >  
			<div style="margin-top: 5px;margin-bottom: 5px;">
				<input type="hidden" id="${m.prefix}_hideVal" value="0"/>
				<input type="hidden" id="${m.prefix}_hideFlag" value=""/>
				<input type="hidden" id="${m.prefix}_hideCount" value=""/>
				<table class='tableBord' id="${m.prefix}_commUse" style="float: left;"></table>
				<span><a class='easyui-linkbutton' iconCls="icon-search" style="margin-left: 50px;" onclick="_w_bquery(this)" id='${m.prefix}_taskQuery'  pre='${m.prefix}' dsid='${m.dsId}' tit='${m.panelTitle}' flagStr='0' doubFunc='_p_work' >查询</a></span>
				<span><a class='easyui-linkbutton' iconCls="icon-reset"  style="margin-left: 50px;" onclick="_w_reset(this)" id='${m.prefix}_reSet'  pre='${m.prefix}' dsid='${m.dsId}' tit='${m.panelTitle}' flagStr='0' >重置</a></span>
			</div>
			<table cellpadding="0" cellspacing="0" >
				<tr>
					<td colspan="2" >
						<!-- 数据列表 -->	
						<table id="${m.prefix}_TASKLIST" ></table>
					</td>
				</tr>
				<tr>
					<td>
						<div id='${m.prefix}_congfigVal'  style="border:1px solid #99BBE8;font-size:14px; color: green;height:30px;margin-top:5px;"></div>
					</td>
				</tr>
			</table>
        </div>
		<input type="hidden" id='${m.prefix}_sq_pks'/>
		<input type="hidden" id="${m.prefix}_dsId" value="${m.dsId}"/>
		<input type="hidden" id="${m.prefix}_type" value="${m.type}"/>
		<input type="hidden" id="${m.prefix}_jsUrl" value="${m.jsUrl}"/>
		<input type="hidden" id="${m.prefix}_prefix" value="${m.prefix}"/>
		<input type="hidden" id="${m.prefix}_initFunc" value="${m.initFunc}"/>
		<input type="hidden" id="${m.prefix}_ainitFunc" value="${m.ainitFunc}"/>
		<input type="hidden" id="${m.prefix}_keyValue" value="${m.keyValues}"/>
		<input type="hidden" id="${m.prefix}_choice" value="${m.choice}"/>
		<input type="hidden" id="${m.prefix}_aoru" value="${m.aoru}"/>
		<input type="hidden" id="${m.prefix}_pks" value="${m.pks}"/>
		<input type="hidden" id="${m.prefix}_winitFunc" value="${m.winitFunc}"/>
		<input type="hidden" id="${m.prefix}_wainitFunc" value="${m.wainitFunc}"/>
	</body>
</html>